package co.edu.udea.iw.prestamodispositivos.excepciones;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class IWDAOException extends Exception {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private static final Log log = LogFactory.getLog(IWDAOException.class);

	public IWDAOException() {
		log.error("Ha ocurrido un error en el sistema");
	}

	public IWDAOException(String arg0) {
		super(arg0);
		log.error(arg0);
	}

	public IWDAOException(Throwable arg0) {
		super(arg0);
		log.error(arg0);
	}

	public IWDAOException(String arg0, Throwable arg1) {
		super(arg0, arg1);
		log.error(arg0, arg1);
	}


}
